package com.wwj.core.wawa.entity;

import com.wwj.framework.entity.BaseIdEntity;

import java.util.Date;

/**
 * Created by Administrator on 2017/11/2.
 */
public class PlayRecord extends BaseIdEntity<Integer> {
    public static final int RESULT_INIT = 0;//抓取中
    public static final int RESULT_SUCCESS = 1;//抓取成功
    public static final int RESULT_FAILED = 2;//抓取失败
    public static final int RESULT_ERROR = 3;//抓取异常

    public static final int NO_VIDEO = 0;//没有视频
    public static final int VIDEO_GENERATING = 1;//视频生成中
    public static final int VIDEO_AVAILABLE = 2;//视频可用

    public static final int UN_APPLY = 0;//待申请
    public static final int UN_DELIVER = 1;//待发货
    public static final int DELIVERING = 2;//已发货
    public static final int RECEIVED = 3;//已收货
    public static final int REJECT = 4;//已拒绝

    public static final int TOKEN_STATUS_NOT_USED = 0;

    public static final int TOKEN_STATUS_USED = 1;

    private int wawaMachineId;

    private int wawaTypeId;

    private int payItemNum;

    private int playerId;

    private int playResult;

    private Date playTime;

    private int videoStatus;

    private String videoUrl;

    private int isDeliver;

    private int wawaId;

    private int roomId;

    private String playNo;

    private String token;

    private Integer tokenStatus;

    private Player player;

    private WaWa waWa;

    private WaWaType waWaType;

    private WaWaMachine waWaMachine;

    public String getPlayNo() {
        return playNo;
    }

    public void setPlayNo(String playNo) {
        this.playNo = playNo;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public WaWaMachine getWaWaMachine() {
        return waWaMachine;
    }

    public void setWaWaMachine(WaWaMachine waWaMachine) {
        this.waWaMachine = waWaMachine;
    }


    public int getWawaMachineId() {
        return wawaMachineId;
    }

    public void setWawaMachineId(int wawaMachineId) {
        this.wawaMachineId = wawaMachineId;
    }

    public int getWawaTypeId() {
        return wawaTypeId;
    }

    public void setWawaTypeId(int wawaTypeId) {
        this.wawaTypeId = wawaTypeId;
    }

    public int getPayItemNum() {
        return payItemNum;
    }

    public void setPayItemNum(int payItemNum) {
        this.payItemNum = payItemNum;
    }

    public int getPlayerId() {
        return playerId;
    }

    public void setPlayerId(int playerId) {
        this.playerId = playerId;
    }

    public int getPlayResult() {
        return playResult;
    }

    public void setPlayResult(int playResult) {
        this.playResult = playResult;
    }

    public Date getPlayTime() {
        return playTime;
    }

    public void setPlayTime(Date playTime) {
        this.playTime = playTime;
    }

    public int getVideoStatus() {
        return videoStatus;
    }

    public void setVideoStatus(int videoStatus) {
        this.videoStatus = videoStatus;
    }

    public String getVideoUrl() {
        return videoUrl;
    }

    public void setVideoUrl(String videoUrl) {
        this.videoUrl = videoUrl;
    }

    public int getIsDeliver() {
        return isDeliver;
    }

    public void setIsDeliver(int isDeliver) {
        this.isDeliver = isDeliver;
    }

    public int getWawaId() {
        return wawaId;
    }

    public void setWawaId(int wawaId) {
        this.wawaId = wawaId;
    }

    public int getRoomId() {
        return roomId;
    }

    public void setRoomId(int roomId) {
        this.roomId = roomId;
    }

    public Player getPlayer() {
        return player;
    }

    public void setPlayer(Player player) {
        this.player = player;
    }

    public WaWaType getWaWaType() {
        return waWaType;
    }

    public void setWaWaType(WaWaType waWaType) {
        this.waWaType = waWaType;
    }

    public WaWa getWaWa() {
        return waWa;
    }

    public void setWaWa(WaWa waWa) {
        this.waWa = waWa;
    }

    public Integer getTokenStatus() {
        return tokenStatus;
    }

    public void setTokenStatus(Integer tokenStatus) {
        this.tokenStatus = tokenStatus;
    }
}
